import React from 'react'
import { Cell } from 'react-vant'
import { NavBar, Space, Toast } from "antd-mobile";
// import request from '../../api/request'
function Index() {
  const goMoney= async ()=>{
    // const res = await request.get('/api/pay',{
      // params:{title,id,price}
    // });
    window.location.href
    // const {data,title,message}=data;

    // const res=()=>{
    //   window.location.href('')
    // }
  }
  return (
    <div>
      <NavBar>支付订单</NavBar>
        <Cell.Group>
      <Cell title='支付宝'  onClick={()=>goMoney}/>
    </Cell.Group>
    </div>
  )
}

export default Index
